|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.micromegacorp.math.v3_spi.Math32
public class Math32
Constructor Summary | |
---|---|
Math32()
|
Method Summary | |
---|---|
static com.micromegacorp.math.v3_spi.Float32 |
add(com.micromegacorp.math.v3_spi.Float32 a,
com.micromegacorp.math.v3_spi.Float32 b)
Add two Float32 values. |
protected static com.micromegacorp.math.v3_spi.Float32 |
command1(int opcode,
com.micromegacorp.math.v3_spi.Float32 fnum)
|
static com.micromegacorp.math.v3_spi.Float32 |
cos(com.micromegacorp.math.v3_spi.Float32 angle)
Returns the trigonometric cosine of an angle. |
static com.micromegacorp.math.v3_spi.Float32 |
divide(com.micromegacorp.math.v3_spi.Float32 a,
com.micromegacorp.math.v3_spi.Float32 b)
Divides a Float32 value by another. |
static com.micromegacorp.math.v3_spi.Float32 |
multiply(com.micromegacorp.math.v3_spi.Float32 a,
com.micromegacorp.math.v3_spi.Float32 b)
multiplies two Float32 values. |
static com.micromegacorp.math.v3_spi.Float32 |
sin(com.micromegacorp.math.v3_spi.Float32 angle)
Returns the trigonometric sine of an angle. |
static com.micromegacorp.math.v3_spi.Float32 |
subtract(com.micromegacorp.math.v3_spi.Float32 a,
com.micromegacorp.math.v3_spi.Float32 b)
Subtracts two Float32 values. |
static com.micromegacorp.math.v3_spi.Float32 |
tan(com.micromegacorp.math.v3_spi.Float32 angle)
Returns the trigonometric tangent of an angle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Math32()
Method Detail |
---|
public static com.micromegacorp.math.v3_spi.Float32 add(com.micromegacorp.math.v3_spi.Float32 a, com.micromegacorp.math.v3_spi.Float32 b)
Float32
values. Returns a + b.
a
- Float32
value.b
- Float32
value.
Float32
reference to result.public static com.micromegacorp.math.v3_spi.Float32 subtract(com.micromegacorp.math.v3_spi.Float32 a, com.micromegacorp.math.v3_spi.Float32 b)
Float32
values. Returns a - b.
a
- Float32
value.b
- Float32
value.
Float32
reference to result.public static com.micromegacorp.math.v3_spi.Float32 multiply(com.micromegacorp.math.v3_spi.Float32 a, com.micromegacorp.math.v3_spi.Float32 b)
Float32
values. Returns a * b.
a
- Float32
value.b
- Float32
value.
Float32
reference to result.public static com.micromegacorp.math.v3_spi.Float32 divide(com.micromegacorp.math.v3_spi.Float32 a, com.micromegacorp.math.v3_spi.Float32 b)
Float32
value by another. Returns a / b.
a
- Float32
value.b
- Float32
value.
Float32
reference to result.public static com.micromegacorp.math.v3_spi.Float32 sin(com.micromegacorp.math.v3_spi.Float32 angle)
angle
- angle in radians
Float32
reference to sine of the anglepublic static com.micromegacorp.math.v3_spi.Float32 cos(com.micromegacorp.math.v3_spi.Float32 angle)
angle
- angle in radians
Float32
reference to cosine of the anglepublic static com.micromegacorp.math.v3_spi.Float32 tan(com.micromegacorp.math.v3_spi.Float32 angle)
angle
- angle in radians
Float32
reference to tangent of the angleprotected static com.micromegacorp.math.v3_spi.Float32 command1(int opcode, com.micromegacorp.math.v3_spi.Float32 fnum)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |